package com.mzj.saas.mservice.aio.repository;

import com.mzj.saas.mservice.aio.entity.Device;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface DeviceRepository extends PagingAndSortingRepository<Device, Long>, JpaSpecificationExecutor<Device>, JpaRepository<Device, Long> {
    List<Device> findByNumberAndDelStatus(String number, Integer delStatus);

}
